use std::thread;

fn main() {
    let handle = thread::spawn(move || {
        println!("Hello from a thread!");
    });
    handle.join().unwrap();
    println!("Hello, world!");
}
